package com.oydsoft.cloud.api.approval;


import com.oydsoft.common.model.BaseResponse;
import com.oydsoft.cloud.dto.declare.dto.A38;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(tags="A38减员审批服务接口")
@RequestMapping("/a38Approval")
public interface A38ApprovalService {

    @ApiOperation(value = "返回A38减员申报List集合")
    @ApiImplicitParam(name="id",value="id",required=true,paramType="form")
    @GetMapping("/list")
    @ApiResponses({
            @ApiResponse(code = 400, message = "请求参数没填好"),
            @ApiResponse(code = 404, message = "请求路径没有或页面跳转路径不对")
    })
    BaseResponse<A38> getA38List(@ApiParam("传入的id") Integer id);
}